package transformation;

import hulppakket.Vector3f;

public class Scaling extends Matrix4f {

	private static final long serialVersionUID = 5502064135055045173L;

	public Scaling(Vector3f scale) {
		super();
		this.setIdentity();
		this.setElement(0, 0, scale.x);
		this.setElement(1, 1, scale.y);
		this.setElement(2, 2, scale.z);
	}
}
